/*
 *Copyright (c) 2012 Mango Persistence Model
 */
package ext.mango.aa.eo;

import mango.orm.entity.Entity;
import mango.orm.entity.Table;
import mango.orm.entity.Column;
import mango.orm.OrmTypes;
import java.sql.Types;

/**
 * AAMenuToUserGroup
 * @serial 1339872858920
 */
@Table("AAMENUTOUSERGROUP")
public class EOAAMenuToUserGroup extends Entity {
    private static final long serialVersionUID = -133987285892086204L;

    /**
     * Name    : UserGroupId
     * Code    : UserGroupId
     * Comment : 
     **/
    @Column(column="USERGROUPID", primary=true, type=Types.VARCHAR)
    public String getUserGroupId() {
        return OrmTypes.convert(String.class, this.get("USERGROUPID"));
    }

    public EOAAMenuToUserGroup setUserGroupId(String userGroupId) {
        this.set("USERGROUPID", userGroupId);
        return this;
    }

    /**
     * Name    : MenuId
     * Code    : MenuId
     * Comment : 
     **/
    @Column(column="MENUID", primary=true, type=Types.VARCHAR)
    public String getMenuId() {
        return OrmTypes.convert(String.class, this.get("MENUID"));
    }

    public EOAAMenuToUserGroup setMenuId(String menuId) {
        this.set("MENUID", menuId);
        return this;
    }

}
